package com.lplb.api.admin.task;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 定时任务
 * @author wang-song
 * @mail 1720696548@qq.com
 * @date 2020/7/15 0015 14:42 
 * @version 1.0.0
 */
@Configuration
@EnableScheduling
@Slf4j
public class TestTask {

//    // 每天凌晨1点执行 -> 【0 0 1 1/1 * ?】,测试30秒一次->【0/30 * * * * ?】
//    @Scheduled(cron = "0/30 * * * * ?")
//    public void start() {
//    }
}
